<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="<?php echo __PUBLIC__?>/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
<style type="text/css">
.page{margin-top:20px;margin-bottom:10px;padding-left:40%;}
.page li{list-style: none;float:left;}
.page a{border:#8db5d7 1px solid;padding:2px 5px;color:#000;margin:0 2px 0 0;text-decoration:none;}
.page a:hover{border:red 1px solid;padding:2px 5px;margin:0 2px 0 0;}
.page .active a{font-weight:bold;color:#000;margin:0 2px 0 0;background-color:#ffca7d;}
.page .current{border:#e89954 1px solid;padding:2px 5px;font-weight:bold;color:#000;margin:0 2px 0 0;background-color:#ffca7d;}
.page .pre{border:#ccc 1px solid;padding:2px 5px;color:#ccc;margin:0 2px 0 0;}
</style>
	</head>
	<body>
		<table class="table table-hover">
			<tr class="active">
			  <th width="30">aid</th>
			  <th>标题</th>
			  <th>作者</th>
			  <th>发布时间</th>
			  <th width="100">分类</th>
			  <th width="200">操作</th>
			</tr>
			<?php foreach ($arcData as $v){?>
			<tr>
				<td><?php echo $v['aid']?></td>
				<td><?php echo $v['title']?></td>
				<td><?php echo $v['author']?></td>
				<td><?php echo date('Y-m-d H:i:s',$v['sendtime'])?></td>
				<td><?php echo $v['cname']?></td>
				<td>
					<a href="<?php echo U('edit',array('aid' => $v['aid']))?>" class="btn btn-sm btn-warning">编辑</a>
					<a href="<?php echo U('del',array('aid' => $v['aid']))?>" class="btn btn-sm btn-danger">删除</a>
				</td>
			</tr>
			<?php }?>
		</table>
		<?php if($total > 8){?>
                
		<div class="page"><?php echo $page?></div>
		
               <?php }?>
	</body>
</html>
